package com.onLineCar.manages.pojo.dto.vehicleinfo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@NoArgsConstructor
@Data
public class RideHailingCarInfoDTOBean {
    /**
     * vehicleIdId : 123
     * brand : 123
     * type : 123
     * owner : 123
     * color : 123
     * engineNumber : 132
     * registrationDate : 2023-12-13
     * displacement : 123
     * photoFileNumber : 123
     * transportCertificateNumber : 213
     * transportCertificateIssuingAuthority : 123
     * operatingArea : 123
     * transportCertificateValidFrom : 2023-12-13
     * transportCertificateValidTo : 2023-12-13
     * firstRegistrationDate : 2023-12-14
     * nextAnnualInspectionDate : 2023-12-14
     * invoicePrinterSerialNumber : 123
     * gpsBrand : 123
     * gpsModel : 213
     * gpsImei : 123
     * gpsInstallationDate : 2023-12-13
     * reportDate : 2023-12-14
     * serviceClass : 123
     */

    /**
     * 车辆标识
     */
    private Integer vehicleId;
    private String company;
    private String brand;
    private String type;
    private String owner;
    private String color;
    private String engineNumber;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "utf+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date registrationDate;
    private String displacement;
    private String photoFileNumber;
    private String transportCertificateNumber;
    private String transportCertificateIssuingAuthority;
    private String operatingArea;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "utf+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date transportCertificateValidFrom;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "utf+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date transportCertificateValidTo;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "utf+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date firstRegistrationDate;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "utf+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date nextAnnualInspectionDate;
    private String invoicePrinterSerialNumber;
    private String gpsBrand;
    private String gpsModel;
    private String gpsImei;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "utf+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date gpsInstallationDate;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "utf+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date reportDate;
    private String serviceClass;
    private String annualInspectionStatus;
    private String fuelType;


    private String maintenanceStatus;


}
